package basics;

import annotation.MyAnnotation;

import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Vector;

@MyAnnotation("Demo introspection of object type")
public class IntrospectSpecialTypes {
    public static void main(String[] args) throws NoSuchMethodException {
        Method m1 = Vector.class.getMethod("get", int.class);
        Method m2 = Vector.class.getMethod("addAll", Collection.class);
        Method m3 = Vector.class.getMethod("copyInto", Object[].class);
    }
}
